Page({
  data: {
    videoUrl: ''
  },
  onLoad: function(options) {
    // 获取传递过来的视频 URL
    if (options.url) {
      this.setData({
        videoUrl: decodeURIComponent(options.url)
      }, () => {
        console.log('video', this.data.videoUrl);
      });
    }
  }
});